package net.xdclass.service;

import net.xdclass.model.AddressDO;
import com.baomidou.mybatisplus.extension.service.IService;
import net.xdclass.request.AddressAddReqeust;
import net.xdclass.vo.AddressVO;

import java.util.List;

/**
 * <p>
 * 电商-公司收发货地址表 服务类
 * </p>
 *
 * @author 二当家小D
 * @since 2022-01-07
 */
public interface AddressService extends IService<AddressDO> {
    AddressVO detail(Long id);

    void add(AddressAddReqeust addressAddReqeust);

    int del(int addressId);

    List<AddressVO> listUserAllAddress();
}
